xend: Add support for URI ('file:' and 'data:' scheme) for PV/kernel
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 25 Aug 2009 13:56:54 +0000 (14:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 25 Aug 2009 13:56:54 +0000 (14:56 +0100)
commit1b14383998f80e4108167ef224a402a28e13f5bd
tree7e07831fbce7fbe2f8059b206535565fa0861a07
parent552cd79c66dabeafab6ea48d13dd028cb47e76f7
xend: Add support for URI ('file:' and 'data:' scheme) for PV/kernel
and PV/ramdisk

Add support for 'file:' and 'data:' URI schemes for the parameters
'PV/kernel' and 'PV/ramdisk' in the VM.create() call. The 'data:'
scheme handling enables using a file which is stored inside the
management system (from where the XenAPI call is send) as kernel or
ramdisk.

Notes:
o all included: a detailed description can be found in the xenapi
documentation
o bumped up the version of the API document to 1.0.8 (because of
(minimal) interface extension)
o Future enhancements (like http:, ftp: schemes) fit seamlessly into
the current design / classes
o Unittest cases and xm-test case included

Signed-off-by: Andreas Florath <xen@flonatel.org>
16 files changed:
docs/xen-api/bibliography.tex [new file with mode: 0644]
docs/xen-api/revision-history.tex
docs/xen-api/xenapi-coversheet.tex
docs/xen-api/xenapi-datamodel.tex
docs/xen-api/xenapi.tex
tools/python/xen/util/fileuri.py [new file with mode: 0644]
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/tests/run_tests.sh [new file with mode: 0644]
tools/tests/utests/run_all_tests.py [new file with mode: 0644]
tools/tests/utests/ut_util/ut_fileuri.py [new file with mode: 0644]
tools/tests/utests/ut_xend/ut_XendConfig.py [new file with mode: 0644]
tools/tests/utests/ut_xend/ut_image.py [new file with mode: 0644]
tools/xm-test/tests/xapi/04_xapi-data_uri_handling.py [new file with mode: 0644]
tools/xm-test/tests/xapi/Makefile.am